package cyh.service;

import cyh.domain.dto.UserDto;
import cyh.domain.entity.User;
import cyh.domain.vo.Result;

/**
 * 业务层接口-用户
 *
 * @author 陈玉和
 * @since 2025/6/15 14:20
 */
public interface IUserService extends IBaseService<User, UserDto> {

    boolean  roleInUse (int deptId);
    boolean deptInUse (int roleId);
    Result toggle(int id);

}